channel_test:channel_test.cpp ../mqcomm/Message.pb.cc ../mqcomm/protocol.pb.cc 
	g++  -o $@ $^ -std=c++14 -I ../third_part/Muduo/build/release-install-cpp11/include -lprotobuf -lsqlite3 -lpthread
.PHONY:clean
clean:
	rm -f channel_test

.PHONY:run
run:
	./channel_test


# read_test:read_test.cpp
# 	g++ -o $@ $^ -std=c++11 -lgtest

# .PHONY:clean
# clean:
# 	rm -f read_test